package com.woniu.exception;

public class MyErrorException extends RuntimeException {

    private static final long serialVersionUID = 7610524035310998768L;

    public MyErrorException() {
        super();
    }

    public MyErrorException(String message) {
        super(message);
    }

    public static void message(String message) {
        throw new MyErrorException(message);
    }

}
